package cn.chenxiejia;

import java.util.concurrent.Callable;

/**
 * @version : V1.0
 * @program: maven
 * @ClassName: T3
 * @Description:
 * @Author: chenxiejia
 * @Date: 2022/1/27 10:23
 */
public class T3 implements Callable<Integer> {
    private int i = 0;

    public T3() {
        this.i = 44;
    }

    public T3(int a) {
        this.i = a;
    }

    @Override
    public Integer call() throws Exception {
        for (int j = 0; j < 5; j++) {
            Thread.sleep(3000);
            System.out.println("多线程c");
        }
        return null;
        //return this.i * this.i * 2;
    }
}
